# -*- coding: utf-8 -*-
"""
Created on Wed Sep 18 22:45:56 2024

@author: Administrator
"""

from tkinter import *
import math

def draw_point(canvas,x,y,r=1,c="black"):
    canvas.create_oval(x-r,
                       y-r,
                       x+r,
                       y+r,
                       fill=c,
                       outline=c
                       )

def f(x):
    return x

tk = Tk()
canvas= Canvas(tk,width=1000,height=800,bd=0)
canvas.pack()

for x in range(0,800):
    draw_point(canvas,x, f(x),r=1,c="black")

tk.mainloop()    